package com.example.demo1.entity;

/**
 * @author zhw
 */
public class JsonResult {
    protected String code;
    /**
     * 异常信息
     */
    protected String msg;
    public JsonResult() {
        this.code = "200";
        this.msg = "操作成功";
    }
    public JsonResult(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
